import java.awt.*; import java.awt.event.*; import java.applet.Applet; public class kuused extends Applet implements ActionListener{ int nr=3; TextField tf=new TextField(""+nr); int nr2=2; TextField tf2=new TextField(""+nr2); Button nupp=new Button(" Vajuta "); public kuused(){ add(tf); add(tf2); add(nupp); nupp.addActionListener(this); } public void paint(Graphics g){ for(int i=0; i